package com.xuexisheqv.subject.application.convert;

import com.xuexisheqv.subject.application.dto.SubjectCategoryDTO;
import com.xuexisheqv.subject.domain.entity.SubjectCategoryBO;
import com.xuexisheqv.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryDTOConverter {

    SubjectCategoryDTOConverter INSTANCE = Mappers.getMapper(SubjectCategoryDTOConverter.class);

    SubjectCategoryBO convertDTOToBO(SubjectCategoryDTO subjectCategoryDTO);

    List<SubjectCategoryDTO> convertBOToDTOList(List<SubjectCategoryBO> subjectCategoryBOList);

    SubjectCategoryDTO convertBoToDto(SubjectCategoryBO subjectCategoryBO);
}
